Skip to content

feat: add a cli count command - #41

Merged
mattcristal merged 1 commit into
mainfrom
add-count-cli-command
Feb 25, 2026
Merged

feat: add a cli count command#41
mattcristal merged 1 commit into
mainfrom
add-count-cli-command

Conversation

@mattcristal

@mattcristal mattcristal commented Feb 21, 2026

Copy link
Copy Markdown
Owner

What was done

Use case: check the consistency and amount of items in the 3 layers used in the medallion architecture.

Example usage:

quack-diff count -t bronze.orders -t silver.orders -t gold.orders

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 77.21180% with 85 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.68%. Comparing base (76a6238) to head (5dec5e1).

Files with missing lines Patch % Lines
src/quack_diff/cli/commands/count/__init__.py 53.33% 70 Missing ⚠️
tests/conftest.py 60.00% 12 Missing ⚠️
src/quack_diff/core/differ.py 94.11% 2 Missing ⚠️
src/quack_diff/core/query_builder.py 87.50% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   80.69%   80.68%   -0.02%     
==========================================
  Files          33       34       +1     
  Lines        2772     3142     +370     
==========================================
+ Hits         2237     2535     +298     
- Misses        535      607      +72     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mattcristal
mattcristal merged commit 9bdbcb3 into main Feb 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants